<style>
    .list-header:not(._hidden){
        background-color: transparent;
        padding: 18px;
        position: relative;
    }
    .list-header._hidden{
        position: fixed;
        right: 0;
        top: 0;
        z-index: 999;
        width: calc(100% - 240px);
        background-color: #f8f8f8;
        padding: 20px 10px;
        z-index: 999999;
    }
    .list-header .list-header-title .name{
        font-size: 28px;
        padding-left: 10px;
    }
    .list-header .list-header-title .icon svg{
        width: 37px;
        height: 37px;
        margin-bottom: 9px;
    }
    .list-header .list-add-button {
        display: -webkit-flex;
        display: flex;
        justify-content: flex-end;
    }
    .list-header .list-add-button button{
        margin-top: 2px;
    }
    .list-header .list-header-underline{
        position: absolute;
        bottom: 0;
        left: 0;
        width: calc(100%);
        border-bottom: 1px solid #e8ebf1;
    }
    .list-content .tree-content{
        min-height: 800px;
    }
    .list-content .list-table{
        min-height: 800px;
    }

</style>

<div class="list-header" id="scrollListHeader">
    <div class="row">
        <div class="col-lg-6">
            <div class="list-header-title">
                <?php if(isset($svgIconName) && !empty($svgIconName)): ?>
                <span class="icon">
                    <svg style="" width="30" height="30">
                        <use xlink:href="<?php echo e(com_bootstrap_icon_path()); ?>/bootstrap-icons.svg#<?php echo e($svgIconName); ?>" />
                    </svg>
                </span>
                <?php endif; ?>
                <span class="name"><?php echo e($listName); ?></span>
            </div>
        </div>
        <div class="col-lg-6">
            <div class="list-add-button">
                <?php if($listAddUrl): ?>
                <button type="button" class="btn btn-primary list-btn-add">新增</button>
                <?php endif; ?>
            </div>
        </div>
    </div>
    <div class="list-header-underline"></div>
</div>
<script>
    let listAddUrl = '<?php echo e($listAddUrl); ?>';
    $('.list-btn-add').on('click', function(){
        window.location.href = listAddUrl;
    });
</script><?php /**PATH F:\wamp64\www\laravel8\resources\views/shared/adminListHeader.blade.php ENDPATH**/ ?>